.\" Copyright (c) 1980 Regents of the University of California.
.\" All rights reserved. The Berkeley software License Agreement
.\" specifies the terms and conditions for redistribution.
.\" @(#)cp.1 6.2 (Berkeley) %G%
By default, the mode and owner of
are preserved if it already
existed; otherwise the mode of the source file modified by the current
to attempt to preserve (duplicate) in its copies the modification
times and modes of the source files, ignoring the present
In the second form, one or more
with their original file-names.
refuses to copy a file onto itself.
will prompt the user with the name of the file
whenever the copy will cause an old file to be
overwritten. An answer of 'y' will cause
to continue. Any other answer will prevent it
from overwriting the file.
option is specified and any of the source files are directories,
copies each subtree rooted at that name; in this case
the destination must be a directory.