V3/usr/man/man1/cp.1
.pa 1
.he 'CP (I)'1/24/73'CP (I)'
.ti 0
NAME cp -- copy
.sp
.ti 0
SYNOPSIS cp__ file918 file928
.sp
.ti 0
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.
.sp
If file928 is a directory, then the target
file is a file in that directory with the file-name
of file918.
.sp
.ti 0
FILES --
.sp
.ti 0
SEE ALSO cat(I), pr(I), mv(I)
.sp
.ti 0
DIAGNOSTICS Error returns are
checked at every system call, and
appropriate diagnostics are produced.
.sp
.ti 0
BUGS Copying
a file onto itself destroys its contents.