cp all files and folders to another directory code example
Example 1: copy all files from a folder to another ubuntu
cp -a ./source/. ./dest/
Example 2: copy directory command in linux
$ cp -R <source_folder>/* <destination_folder>
cp -a ./source/. ./dest/
$ cp -R <source_folder>/* <destination_folder>