copy folder with subfolders cmd code example
Example 1: cmd copy all files to another folder
xcopy /s c:\Folder1 d:\Folder2
Example 2: xcopy folder to another folder
Xcopy C:\test D:\test /E /H /C /I
xcopy /s c:\Folder1 d:\Folder2
Xcopy C:\test D:\test /E /H /C /I