how to copy all folder and files in linux 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>