update to the new memset/memcpy/memmove intrinsics