public OVector(OVector v){
  int N=v.size();
  if (N == 0)   vector=new Object[defaultCapacity];
 else {
    vector=new Object[N];
    size=N;
    System.arraycopy(v.vector,0,vector,0,N);
  }
}

public OVector ( OVector v ) { int N = v . size ( ) ; if ( N == 0 ) vector = new Object [ defaultCapacity ] ; else { vector = new Object [ N ] ; size = N ; System . arraycopy ( v . vector , 0 , vector , 0 , N ) ; } }
constructs a copy of a vector starting with capacity equal to that vector ' s size .
