cp directory with contents code example
Example 1: copy all files from a folder to another ubuntu
cp -a ./source/. ./dest/
Example 2: terminal copy directory
$ cp -R <source_folder>/* <destination_folder>
cp -a ./source/. ./dest/
$ cp -R <source_folder>/* <destination_folder>