private static void compareTwoCharArrays( char[] data1, char[] data2 )
		throws MVDTestException
	{
		if ( data2.length != data1.length )
			throw new MVDTestException(
				"Original and read versions not the same length");
		for ( int i=0;i<data2.length;i++ )
		{
			if ( data1[i] != data2[i] )
				throw new MVDTestException(
					"Data before and after read not equal");
		}
	}