@Override public Object[] toArray(){
  Object[] copy=new Object[size];
  System.arraycopy(buffer,start,copy,0,size);
  return copy;
}

@ Override public Object [ ] toArray ( ) { Object [ ] copy = new Object [ size ] ; System . arraycopy ( buffer , start , copy , 0 , size ) ; return copy ; }
returns an array containing all of the elements in this list in proper sequence ( from first to last element ) .
