Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Instruction COPY

Summary

COPY [<file-options>] <source> [...<source>] <destination>

Tip

See the section on file options.

The COPY instruction takes one or more source files, and copies them to the destination.

If multiple source files are specified, the destination MUST BE a directory.

InputDestinationResult
Single fileFileFile written with destination filename
Single fileDirectoryFile written to destination dir, with source filename
Multiple filesFileError
Multiple filesDirectoryFiles written to destination dir, with original filename
DirectoryAnyNot yet supported