Fix bugs in copy_memory
Fix bugs in copy_memory


Former-commit-id: 932bbd599a68def6d4fecb25ce3d7a167ca80b55
darkbuck/Halide,Trass3r/Halide,Trass3r/Halide,Trass3r/Halide,darkbuck/Halide,Trass3r/Halide,darkbuck/Halide,darkbuck/Halide,darkbuck/Halide,darkbuck/Halide,Trass3r/Halide,Trass3r/Halide,darkbuck/Halide,Trass3r/Halide