All the corporation needs to do is buy all the stock of the other corporation. It`s really not that hard to do. The buying corporation would then name new officers of the corporation and go from there.
There are a few legal and a lot of tax considerations that you may need to discuss with an accountant or attorney but the sale is pretty straight forward.
You can also write a purchase agreement to buy the corporation.