Copy files and directories.
cp [options] source_files destination_directory cp [options] source_file destination_file
-a preserves all file attributes.
-b makes a backup copy before copying.
-d copies a link but not the file pointed to by the link.
-i asks for confirmation before overwriting files.
-l creates hard links instead of copying files.
-p preserves ownership, permissions, and the file time stamp.
-R recursively copies files in all subdirectories.
-s creates soft links instead of copying files.
-u copies a file only when the file being copied is newer than the destination.
-v displays verbose messages as copying progresses.
-help displays a Help message about cp.
The cp command copies one file to another. You can also copy several files from one directory to another.