copy-buffer
trim-and-copy-buffer
adjust `string-trim` to only perform right-wise trimming of the buffer.
configure