copy directory 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
Example 3: copy whole directory command line
cp -r /directory/to/copy /destination/path
#Use "r" flag to copy whole directory