You should be able to make a sql dump/export using phpmyadmin of the very large database and then run the dump as a sql query in the other database. The only problem would be if the database names were different and then you could change it in the sql dump anyway.
Note that the query will take a long time, 20mb is a fair bit of data.