From a pure java technology, you would need to first recreate the complete DDL from the source DB to the destination DB. Then use for example an ETL to load all records.
Another possible route is to use linked tables. But you'll miss out on indexes and referential constraints unless you already copied the DDL.
If you're interested in using Sequel with jruby, this ruby gem executable can perform most operations for you.