1//Copy image using file facade laravel
2$url = $data['featured_image'];
3$imageName = substr($url, strrpos($url, '/') + 1);
4$selected_file = str_replace(\URL::to('/'),'',$url);
5\File::copy(public_path().'/'.$selected_file, public_path().'/storage/images/pages/'.$imageName.'');