Build.File - copy

Description

Copies a file from one location to another.

Parameters

Table 8. Parameters

Attribute Type Description Required
file string The name of the file to copy. true
toDir string The directory to copy the file to.. true
toFile string The name of the destination file. If blank, will use the original file's name. false
overwrite string If true, will overwrite the file if it already exists. false
if bool If true, the task will be executed, otherwise it will be skipped. The default is true. False
unless bool The opposite of if. If false, the task will be executed, otherwise it will be skipped. The default is false. False