how to copy one folder in another folder linux code example
Example 1: copy folder linux
cp -R dir1 dir2
Example 2: copy directory command in linux
$ cp -R <source_folder>/* <destination_folder>
cp -R dir1 dir2
$ cp -R <source_folder>/* <destination_folder>