add copy_db_to_head client operation
test copy_db_to_head