@Override
    public ChannelBuffer copy() {
        return copy(readerIndex, readableBytes());
    }
@Test
    void copyBoundaryCheck4() {
        Assertions.assertThrows(IndexOutOfBoundsException.class, () -> buffer.copy(buffer.capacity(), 1));
    }