Manual:$wgAllowCopyUploads

Details
Allow for upload to be copied from an URL. Requires.

Users also need to have the associated user right 'upload_by_url' before this option will show up on Special:Upload.

Found in the localsettings.php file in your root directory.