copy a directory in terminal code example
Example 1: copy all files from a folder to another ubuntu
cp -a ./source/. ./dest/
Example 2: copy folder linux command line
cp -R source_dir destination_dir
cp -a ./source/. ./dest/
cp -R source_dir destination_dir