size_type copy( char *str, size_type num, size_type index ); copy()函数拷贝自己的num个字符到str中(从索引index开始)。返回值是拷贝的字符数