use arch optimized memcpy