unix copy directory contents to another directory code example
Example 1: copy contents of directory to another directory linux
cp -a /source/. /dest/
Example 2: how to copy directory to another directory in linux
cp -r <DIRECTORYPATH> <WHEREYOUWANTTOCOPYTO>
#for example
cp -r /home/thor/asia/india/bangalore /home/thor/