Swapping
Using this feature you can change the parent level of projects and WBS items. As the hierarchical level depth of a project is only two, it is not possible to convert a main project having a sub project under another main project. However, this does not apply to a WBS item. You can create any levels of sub WBS items.
If you swap a sub project with an empty main project (destination project), the sub project becomes a main project.