Prefer assignment to memcpy when either will do.