bash copy contents of directory into another code example
Example 1: copy contents of directory to another directory linux
cp -a /source/. /dest/
Example 2: bash copy directory and all contents
cp -r /path/to/directory /path/to/location/new-name