script to copy files from one folder to another ubuntu 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/
$ cp -r /source_directory /destination_directory
cp -a ./source/. ./dest/