Mod: Need to use memcpy for stack.