Depends how often you want to do this. if it's a one off, a simple XOG project read and then changing the ID would work.
If it's more frequent you could build a process to read and copy a project as needed, but keep in mind any governance controls you might have.
So what's the use case? As others have pointed out the template option is normally what you'd use, this will copy tasks/team/financial plans etc.