Use pointer argptr to reduce one memcpy