copying the contents of a directory in linux code example
Example 1: copy folder ubuntu
$ cp -r /source_directory /destination_directory
Example 2: copy all files from a folder to another ubuntu
cp -a ./source/. ./dest/
Example 3: copy folder linux command line
cp -R source_dir destination_dir