Meets #15173: Subprojects are not copied correctly and the hierarchy is lost

[``* `#15173` Subprojects are not copied correctly and the hierarchy is lost``](https://www.openproject.org/work_packages/15173)