public function copyTo($path)
    {
        foreach ($this->assets as $assetName => $assetPath) {
            $outputPath = $path . '/' . $assetName;

            $this->copyFromTo($assetPath, $outputPath);
        }
    }
public function copyTo($path)
    {
        foreach ($this->assets as $assetName => $assetPath) {
            $outputPath = $path . '/' . $assetName;

            $this->copyFromTo($assetPath, $outputPath);
        }
    }
public function copyTo ( $ path ) { foreach ( $ this -> assets as $ assetName => $ assetPath ) { $ outputPath = $ path . '/' . $ assetName ; $ this -> copyFromTo ( $ assetPath , $ outputPath ) ; } }
Copies all assets to the given path.

@param string $path The path to copy to.
Copies all assets to the given path .