/proc/fcopy(Src, Dst)
Arguments:
Src: The file to copy.
Dst: Where the file should be copied to.
Returns:
num: 1 on success; 0 on failure.

The source file can be a savefile, a file on the filesystem or a loaded resource, such as an icon.

// resources are specified with 'single quotes'
fcopy('icons/mob.dmi', "temp/mob.dmi")

// "double quotes" specify an external file
fcopy("temp/mob.dmi", "the_void/")
Parity Issue ⚠️
In the OpenDream implementation of DreamMaker, this feature differs in implementation:
In BYOND, if both the source and destination have a trailing slash, they will be treated as directories. This recursively copies the contents of directories into the target path.