Merge two companies which exist in one instance (AOS)

Hey all . This is my first post.

I’m looking to merge the data from two companies running on a single instance ( AOS ).

Company A is completely set up but has no transactions

Company B is setup and has no transactions.

I want to use the entire chart of accounts from company A and import everything from company B into A with the exception of companie B’s chart of accounts …

Any suggestions. I you have a script or job that can do this i would love to get my hands on it. I was thinking of using defintion groups but its a lot of tables i have to move if thats the case and BOMS routes etc have to be moved/merged

Thanks for your help

Shawn

no suggestions ? Cant believe no one ever did this