copy-to-buffer
copy-to-buffer is an interactive compiled Lisp function in `simple.el
'.
(copy-to-buffer BUFFER START END)
Copy to specified buffer the text of the region.
It is inserted into that buffer, replacing existing text there.
When calling from a program, give three arguments:
BUFFER (or buffer name), START and END.
START and END specify the portion of the current buffer to be copied.