src/Codeception/Module/WPFilesystem.php
public function copyDirToPlugin($src, $pluginDst)
    {
        $this->copyDir(
            $src,
            $this->config['plugins'] . Utils::unleadslashit($pluginDst)
        );
    }
public function copyDirToPlugin($src, $pluginDst)
    {
        $this->copyDir(
            $src,
            $this->config['plugins'] . Utils::unleadslashit($pluginDst)
        );
    }
public function copyDirToPlugin ( $ src , $ pluginDst ) { $ this -> copyDir ( $ src , $ this -> config [ 'plugins' ] . Utils :: unleadslashit ( $ pluginDst ) ) ; }
Copies a folder to a folder in a plugin.

@example
``` php
// Copy the 'foo' folder to the 'foo' folder in the plugin.
$I->copyDirToPlugin(codecept_data_dir('foo'), 'my-plugin/foo');
```

@param  string $src The path to the source directory to copy.
@param  string $pluginDst The destination path, relative to the plugins root folder.
Copies a folder to a folder in a plugin .