std::string::copy函数

size_t copy (char* s, size_t len, size_t pos = 0) const;
原文地址:https://www.cnblogs.com/smallredness/p/11236209.html