hand-optimize memcpy/asm