terminal copy file to folder code example
Example 1: copy folder linux
cp -R dir1 dir2
Example 2: terminal copy directory
$ cp -R <source_folder>/* <destination_folder>
cp -R dir1 dir2
$ cp -R <source_folder>/* <destination_folder>