buaazp: use new way to avoid memcpy.