code: public void copyHeader(LogRepositoryWriter writer) throws IllegalArgumentException {
  		if (writer == null) {
  			throw new IllegalArgumentException("Parameter writer can't be null");
  		}
  		writer.setHeader(headerBytes);
  	}
docs: Copy header into provided writer
  
  @param writer repository writer to verify
  @throws IllegalArgumentException if writer is 'null'