core-bundle/src/Resources/contao/library/Contao/Files.php
public function copy($strSource, $strDestination)
	{
		$this->validate($strSource, $strDestination);

		return copy($this->strRootDir . '/' . $strSource, $this->strRootDir . '/' . $strDestination);
	}
public function copy($strSource, $strDestination)
	{
		$this->validate($strSource, $strDestination);

		return copy($this->strRootDir . '/' . $strSource, $this->strRootDir . '/' . $strDestination);
	}
Copy a file or folder

@param string $strSource      The source file or folder
@param string $strDestination The new file or folder path

@return boolean True if the operation was successful