add MoveItems to RingBuf, fixes #19085