If you got c++ project, the fastest way is to use project templates.
- Just use this tutorial to create template (copy project to template directory, add TemplateDefs.ini from other template)
Converting a Project to a Template | Unreal Engine Documentation - Create project with new name from created template by Epic Launcher.
- ???
- PROFIT