Is there a copy of the video that is uploaded at one time?

supposedly send slices on a list
how to divide them into slices?

$target_dir = "../../images/user/cover/";
        $target_file = $target_dir . basename($_FILES["myFile_cover"]["name"]);
        $imageFileType = pathinfo($target_file,PATHINFO_EXTENSION);
        $imagename = "chatgether_".$_SESSION["user"] . "." . $imageFileType;
        $destination = $target_dir . $imagename;

        if(move_uploaded_file($_FILES["myFile_cover"]["tmp_name"], $destination))
        {
          
        }

the same photo but copied into a photo
A photo to A file
B photo to B file
how to upload once but have a photo?

Mar.16,2021

move_uploaded_file then
then use copy to copy local pictures to another folder

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1ea3894-1c64.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1ea3894-1c64.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?