Skip to main content

$copyFile

This function copies a file from the specified source path to the specified destination path.

Parameters

ParameterDescription
sourcePathPath to the source file to be copied.
destinationPathPath to the destination where the file will be copied.

Example

<AoiClient>.addCommand({
name: "misc",
code: `
$copyFile[source/path/file.txt; destination/path/file_copy.txt]
`,
});