copy and paste file in linux shell

C++
# use cp for copy pasting BOTH files and folders in linux shell
cp source_file target_file
cp source_dir target_dir
Source

Also in C++: