bash copy entire directory code example
Example 1: bash copy directory and all contents
cp -r /path/to/directory /path/to/location/new-name
Example 2: bash copy folder
$ cp -r pics documents
cp -r /path/to/directory /path/to/location/new-name
$ cp -r pics documents