[U-Boot] [PATCH v2] sandbox: Use memcpy() to move overlapping regions