<?php copy(string $from, string $to, ?resource $context = null): bool
<?php $this->resolveDirectoryVisibility($config->get(Config::OPTION_DIRECTORY_VISIBILITY)) ); if ( ! @copy($sourcePath, $destinationPath)) { throw UnableToCopyFile::fromLocationTo($sourcePath, $destinationPath); } }