Hi Guys!
There are very few steps to achieve that target
You should know the folder name and file name from where you want to copy your file
Lets take a example i want to copy my file test.docx from test folder to upload folder
<?php
$source = ‘test/test.docx’;
$destination = ‘upload/test.docx’ ;
// copy start here
if(@copy($source, $destination)){
echo “File copied successfully”;
}
Thats it.
Have fun