Unix built-in command for copying,
cp is very simple. Maybe even too simple.
It won't even copy directories by default. You have to pass
-R option to it.
dir_2 run following command.
cp -R dir_1 dir_2
But wait. There is one more tricky thing with
cp and directories.
If you include
/ after directory name, it will copy files from
not the directory itself.
cp -R dir_1/ dir_2
View how to copy files and useful flags for command