file1 file2cp [
Copy file1 to file2, or copy one or more files to the same names under directory. If the destination is an existing file, the file is overwritten; if the destination is an existing directory, the file is copied into the directory (the directory is not overwritten).
Preserve attributes of original files where possible. The same as -dpr.
Back up files to be overwritten. As -b, takes no argument. For --backup, control specifies the type of backup and can also be set with the environment variable VERSION-CONTROL. The default is existing. Valid arguments are:
Always make numbered backups.
Make numbered backups of files that already have them; otherwise, make simple backups.
Always make simple backups.
Never make backups, even if --backup is specified.
The same as --preserve=context.
Copy contents of special files when recursive.
The same as --no-dereference --preserve=links.
Remove an existing file in the destination if it can’t be opened. See also --remove-destination.
Follow command-line symbolic links in the source.
Prompt before overwriting destination files. On most systems, this flag is turned off by default except for the root user, who is normally prompted before overwriting files.
Make hard links, not copies, of nondirectories.
Always follow symbolic links.