copy all files from one directory to another code example
Example 1: copy all files from a folder to another ubuntu
cp -a ./source/. ./dest/
Example 2: cmd copy all files to another folder
xcopy /s c:\Folder1 d:\Folder2
cp -a ./source/. ./dest/
xcopy /s c:\Folder1 d:\Folder2