While I have not done it and there may be better solutions, I would simply copy both libraries into a new directory similarly as you described (so that you have backup of both in case something goes wrong) and then tell Calibre to pickup the database at the new location (from Preferences->Run Welcome Wizard)
EDIT: I should have reloaded the page before sending my reply

but at least you can choose now