copy(string $originFile, string $targetFile, bool $overwriteNewerFiles = false)
Copies a file.
If the target file is older than the origin file, it's always overwritten. If the target file is newer, it is overwritten only when the $overwriteNewerFiles option is set to true.
Please login to continue.