msvcrt: Assign to structs instead of using memcpy.