copy a folder using terminal in ubuntu code example
Example 1: copy all files from a folder to another ubuntu
cp -a ./source/. ./dest/
Example 2: copy folder in ubuntu
cp -r /path/to/directory /path/to/location/new-name
cp -a ./source/. ./dest/
cp -r /path/to/directory /path/to/location/new-name