memcpy -> std::copy, rvalue refs