copyDbData entry point