Don't use memcpy when copying mirror::Object.

Instead use existing code doing a raw copy of a mirror::Object,
correctly using atomic instructions.

Test: test.py
Bug: 260557058
Change-Id: Ie5b0cd9421d537e1693ddc5c8db3a201c0dd5ab8
3 files changed