Hi Daniel,
Are you looking to just create a new version of an application on a different repository?
If so this can be achieved using the projects API and uploading an app to the appstore.
You can of course use the model SDK to do what you mention, i just don’t know how off the top of my head.
Regards
Simon
You could generate all SDK code from old project to create an exact copy and run it into a new project: https://docs.mendix.com/apidocs-mxsdk/mxsdk/generating-code-from-the-model