$url_arr = parse_url("https://dev14.ivantechnology.in/oxfordonlinebookstore/public/uploads/product_images/product_a.jpg");
$link_to_arr = explode('/', $url_arr['path']);
$img_name = end($link_to_arr);
$link_to_arr = explode('.', $img_name);
$img_name = end($link_to_arr);
$f_name = 'blk_imp_'.Carbon::now()->timestamp.'.'.$img_name;
$lnk = config()->get('img_pth_initial').'uploads/product_images/'.$f_name;
file_put_contents( $lnk ,file_get_contents('https://dev14.ivantechnology.in/oxfordonlinebookstore/public/uploads/product_images/product_a.jpg'));