This is documentation for Mathematica 5, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)

Documentation / Mathematica / Built-in Functions / System Interface / File System /

CopyFile

FilledSmallSquare CopyFile["", ""] copies to .

FilledSmallSquare must already exist; must not.

FilledSmallSquare CopyFile sets the modification date for to be the same as for .

FilledSmallSquare CopyFile returns the full name of the file it copies to, and $Failed if it cannot do the copy.

FilledSmallSquare See Section 1.11.2 and Section 2.12.6.

FilledSmallSquare See also: RenameFile, DeleteFile, CopyDirectory.

FilledSmallSquare New in Version 2.