How to copy files maintaining all file attributes

If you are ever prestaging a DFS server you know that you’re going to need to copy over all of the files and folders without changing attributes on the files. If you do DFS will try to replicate them again and the entire prestaging is pointless. Here is the Robocopy command to preserve the files.

Robocopy.exe UNCPath