contao/core — Issue #3800: Add copyTo method to File and Folder class
Author: DyaGa
Created: 2012-01-11 15:56:42+00:00
State: open

This method is also missing and needed in `File` and `Folder` classes

```php
/**
* Copy the file
* @param string
*/
public function copyTo($strNewName)
{
return $this->Files->copy($this->strFile, $strNewName);
}
```