protected void CopyHeader(){
  seek(0);
  int major=getCard8();
  int minor=getCard8();
  int hdrSize=getCard8();
  int offSize=getCard8();
  nextIndexOffset=hdrSize;
  OutputList.addLast(new RangeItem(buf,0,hdrSize));
}

protected void CopyHeader ( ) { seek ( 0 ) ; int major = getCard8 ( ) ; int minor = getCard8 ( ) ; int hdrSize = getCard8 ( ) ; int offSize = getCard8 ( ) ; nextIndexOffset = hdrSize ; OutputList . addLast ( new RangeItem ( buf , 0 , hdrSize ) ) ; }
function copies the header from the original fileto the output list
