Copies the specified on-disk or in-memory source file to the specified destination file.
fileCopy(source, destination)
returns void
Name | Type | Required | Default | Description |
---|---|---|---|---|
source | string | Yes | Path where the file is located currently | |
destination | string | Yes | Path where a copy of the file should be placed |
fileCopy(sourceFile, destinationFile);