To copy a directory with all subdirectories and files, use the following command:
cp -r /home/your_directory/* /home/your_new_directory |
In the above example the cp command would copy all files, directories, and subdirectories in the /home/your_directory directory to the /home/your_new_directory directory.