fix a miscompilation of tramp3d-v4: when forming a memcpy, we have to make