Implement function copy_from_database()

The function copy_from_database() should extract exposure features from one database and copy into another.

\fyi @all