I need to make a copy a a file and a folder using php.
the situation -
I have a file called 12345.json and a folder called 12345 with several images
I want to copy the file 12345.json to 12345-1.json and the folder to 12345-1
Can anyone please point me in the right direction.