Function Copy-File

Part of:

package cl-fad, package metabang.utilities
( copy-file < from > < to > &key < if-does-not-exist > < if-exists > )
Copies the file designated by the non-wild pathname designator FROM to the file designated by the non-wild pathname designator TO. The following keyword parameters are supported: * :if-exists this can be either :supersede or :error (the default). If it is :error then a source/target-source-does-not-exist-error will be signaled if the FORM pathname designator does not exist. * :if-does-not-exist this can be either :ignore or :error (the default). If it is :error then a source/target-target-already-exists-error will be signaled if the file designated by the TO pathname already exists.