Issue 16398: Use memcpy() in deque.rotate().