Implements Drupal\Core\FileTransfer\FileTransfer::copyFileJailed().
Overrides FileTransfer::copyFileJailed
protected function copyFileJailed($source, $destination) {
if (@(!copy($source, $destination))) {
throw new FileTransferException('Cannot copy %source to %destination.', NULL, array(
'%source' => $source,
'%destination' => $destination,
));
}
}