These articles cover xcopy usage and switches:
xcopy
Caveats when using xcopy:
How I tend to use xcopy when migrating a file server: xcopy /v /f /s /e /k /r /h /o /x /-y /z \\server\share\folder\
xcopy /v /f /s /e /k /r /h /o /x /-y /z \\server\share\folder\