The copy command to copy the entire directory is:
cp -r source_dir destination_dir
Note: -r
stands for copy directories recursively.
Here are some examples:
# Copy everything from current directory to /tmp directory cp -r * /tmp # Copy the whole /tmp directory to /root directory cp -r /tmp /root