Copies the current content into an immutable String.
an independent snapshot unaffected by subsequent changes to this builder.