Ok, I have a template (template.php) and I want it to be able to be copied to other file names e.g., doc.php
So doc.php is identical to template.php
What I want to have it a page on my site that you can write in a box say doc2
And it automatically copy the template file to doc2.php
Does that make sense?
Summarise: I want a box that when a word is typed into it, it duplicates the page template.php to the filename written in the box by the user.
All help would be highly appreciated.