We have a legacy Windows 2008 R2 server, with a single network share on it, that was acting as a primary file share. Inside the network share are about a dozen different folders (with subfolders) all with different permissions applied to them at the folder and file level.
I want to migrate/copy this entire directory structure to a new Windows 2012 Standard server, keeping all the timestamps, permissions, etc. exactly as they are on the old directory structure. Both servers are part of the same single Windows 2008 R2 domain.
What would the best practice method for achieving this? Using XCopy? If so, what syntax would I want to use with the command to make sure I don't lose any permissions or change any data and timestamps during the migration?