Function Copy-File

Part of:

Copies the file designated by the non-wild pathname designator FROMto the file designated by the non-wild pathname designator TO. The followingkeyword parameters are supported:

* :if-exists this can be either :supersede or :error (the default). If it is :error thena source/target-target-already-exists-error will be signaled if the file designatedby the TO pathname already exists.

* :if-does-not-exist this can be either :ignore or :error (the default). If it is :error thena source/target-source-does-not-exist-error will be signaled if the FROM pathnamedesignator does not exist.