replace

replace is an alias for `cl-replace' in `cl.el'.

(replace SEQ1 SEQ2 [KEYWORD VALUE]...)

Replace the elements of SEQ1 with the elements of SEQ2.
SEQ1 is destructively modified, then returned.

Keywords supported: :start1 :end1 :start2 :end2