linux copy folder contents code example
Example 1: copy contents of directory to another directory linux
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