code: public char[] toCharArray() {
          if (size == 0) {
              return ArrayUtils.EMPTY_CHAR_ARRAY;
          }
          final char chars[] = new char[size];
          System.arraycopy(buffer, 0, chars, 0, size);
          return chars;
      }
docs: Copies the builder's character array into a new character array.
  
  @return a new array that represents the contents of the builder