public void write(String outputFileName){
		TextIO.writeFile(outputFileName);
		TextIO.putf("!This is a copy of the file %s\n", inputFileName);
		TextIO.putf("!We could have done something more complex than this\n");
		TextIO.putf("Rows: %d\n",this.rows);
		TextIO.putf("Cols: %d\n",this.cols);
		//prints names
		for(int i=0;i<=cols;i++){
			TextIO.putf("%s ", this.vnames[i]);
		}
		TextIO.putf("\n");
		//prints units
		for(int i=0;i<=cols;i++){
			TextIO.putf("%s ", this.vunits[i]);
		}
		TextIO.putf("\n");
		//writes data
		for(int i=0;i<rows;i++){
			for(int j=0;j<cols;j++){
				TextIO.putf(vls[i][j]+"\t");
			}
			TextIO.putf("\n");
		}
	}