Copy custom icons when copying/moving entries/groups to another database

TODO: unit tests