protected function copyElfinderFiles($destination)
{
$result = true;
$directories = array('js', 'css', 'img', 'sounds');
$elfinderPath = $this->getElfinderPath();
foreach ($directories as $dir) {
$path = $elfinderPath . '/' . $dir;
$success = $this->files->copyDirectory($path, $destination . '/' . $dir);
$result = $success && $result;
}
return $result;
}