dired-do-copy

dired-do-copy is an interactive autoloaded compiled Lisp function in `dired-aux.el'.


(dired-do-copy &optional ARG)

Copy all marked (or next ARG) files, or copy the current file.
When operating on just the current file, prompt for the new name.

When operating on multiple or marked files, prompt for a target
directory, and make the new copies in that directory, with the
same names as the original files. The initial suggestion for the
target directory is the Dired buffer's current directory (or, if
`dired-dwim-target' is non-nil, the current directory of a
neighboring Dired window).

If `dired-copy-preserve-time' is non-nil, this command preserves
the modification time of each old file in the copy, similar to
the "-p" option for the "cp" shell command.

This command copies symbolic links by creating new ones, similar
to the "-d" option for the "cp" shell command.