xcopy c:\olddocs d:\newdocs /E /H /O /E - Copies folders and subfolders, including empty ones. /H - Copies hidden and system files also. /K - Copies attributes. Typically, Xcopy resets read-only attributes. /O - Copies file ownership and ACL information. /X - Copies file audit settings (implies /O).