Copy a file from any source to any destination.
copy_file( string $source, string $destination ) : mixed
$source (string) (Required) Copy file from URL
$destination (string) (Required) Destination folder.
(mixed)
require_once INCLUDES.'photo_functions_include.php';
copy_file(IMAGES.'phpfusion-icon.png', IMAGES.'avatars/');