Nucleus handler tools › Docs › Context › CopyFolder
Context.CopyFolder
Open in the workbench (search, and try it in a handler)
Context.CopyFolder(
source: string | number | boolean,
destination: string | number | boolean
): boolean
Copies the folder source with all its files and subfolders into destination (both full paths), creating the destination folders. Files that already exist at the destination are not overwritten, and files that fail to copy are skipped silently. Throws if source doesn't exist; returns true.
✎ AI-written, based on Nucleus GenericContext.cs (CopyFolder), FileUtil.cs (CopyDirectory, CopyDirectoryFiles). Not from the official docs. Is it wrong? Tell us
source: Full path of the folder to copy, with all its subfolders.destination: Full path of the target folder, created if missing; files already there are not overwritten (copy errors are ignored).
✎ Parameters: AI-written from the Nucleus source.
Is this right?
Tell us what's wrong