CP (I) 1/24/73 CP (I)
NAME cp -- copy
SYNOPSIS cp file file
1 2
DESCRIPTION The first file is copied onto the second. The
mode and owner of the target file are preserved
if it already existed; the mode of the source
file is used otherwise.
If file is a directory, then the target file is
2
a file in that directory with the file-name of
file .
1
FILES --
SEE ALSO cat(I), pr(I), mv(I)
DIAGNOSTICS Error returns are checked at every system call,
and appropriate diagnostics are produced.
BUGS Copying a file onto itself destroys its contents.