Use Metadata API to move metadata during large changes, such as
merging or splitting Salesforce orgs.
To split an org, first retrieve the metadata to be moved. Then, use a deploy call to push those configurations to the new org. Similarly, to merge two orgs, retrieve existing metadata from one org. Next, use a deploy call to migrate metadata from one org to another.