try implementing DMAgic copy function. Issue #35.