src/Codeception/Module/WPFilesystem.php
public function copyDirToUploads($src, $dst, $date = null)
    {
        $this->copyDir($src, $this->getUploadsPath($dst, $date));
    }
public function copyDirToUploads($src, $dst, $date = null)
    {
        $this->copyDir($src, $this->getUploadsPath($dst, $date));
    }
public function copyDirToUploads ( $ src , $ dst , $ date = null ) { $ this -> copyDir ( $ src , $ this -> getUploadsPath ( $ dst , $ date ) ) ; }
Copies a folder to the uploads folder.

The date argument can be a string compatible with `strtotime` or a Unix
timestamp that will be used to build the `Y/m` uploads subfolder path.

@example
``` php
$I->copyDirToUploads(codecept_data_dir('foo'), 'uploadsFoo');
$I->copyDirToUploads(codecept_data_dir('foo'), 'uploadsFoo', 'today');
```

@param  string $src The path to the source file, relative to the current uploads folder.
@param  string $dst The path to the destination file, relative to the current uploads folder.
@param  string|int|\DateTime $date The date of the uploads to delete, will default to `now`.
Copies a folder to the uploads folder .