python: Add wrapper of mdb_copy that we can call from python