|This method is obsolete. See the Remarks section below.|
CopyFiles method lets you copy the specified files or folder to a new location, overwriting any existing destination.
BuiltIn.CopyFiles(Source, Destination, SubDir)
The method is applied to the following object:
The method has the following parameters:
The name of one file or folder to be copied, or the name of several files (folders) if it includes wildcards (* or ?).
If Destination ends in a backslash (\), then Source will be copied to folder Destination, under its original name. If Destination does not end in a backslash, then Source will be copied under the name Destination.
If Source is a folder, SubDir specifies whether its subfolders will be copied too.
An integer value that means the total number of copied files.
This method is obsolete. It is supported for backward compatibility only. To copy files, use the
aqFileInfo.Copy method. To copy folders, use the