for (String key : fromDatabase.getKeySet()){
originalEntry = fromDatabase.getEntryById(key);
BibtexEntry be = (BibtexEntry) (originalEntry.clone());
be.setId(Util.createNeutralId());
Util.setAutomaticFields(be, overwriteOwner, overwriteTimeStamp);
database.insertEntry(be);
appendedEntries.add(be);
originalEntries.add(originalEntry);
ce.addEdit(new UndoableInsertEntry(database, be, panel));
}
}