/** * Copies a file to the given destination. * * @param mixed sfFilebasePluginFile | string $destination * @param boolean $overwrite: If true dest file will be overwritten * @return sfFilebasePluginFile $copied_file */ public function copy($destination, $overwrite = false) { return $this->filebase->copyFile($this, $destination, $overwrite); }