public function copy($source, $target)
{
$source = $this->getPathInfo($source, 'pathname');
$target = $this->getPathInfo($target);
if (!is_file($source) || !$this->makeDir($target['dirname'])) {
return false;
}
return @copy($source, $target['pathname']);
}