code: private int copy(final byte[] buffer, final byte[] response,
          final int read) {
          System.arraycopy(
              buffer, read - this.count, response, 0, this.count
          );
          return new MinOf(this.count, read).intValue();
      }
docs: Copy full buffer to response.
  @param buffer The buffer array
  @param response The response array
  @param read Number of bytes read in buffer
  @return Number of bytes in the response buffer