% Test copying of streams (in this case, files)

:- eval(test_copy_stream()).

test_copy_stream() :-
	println(["======test copy_stream========"]),

	IS2=java.io.FileInputStream("ex003.prova"),
	OS2=java.io.FileOutputStream("_scratch"),
	copy_stream(IS2,OS2),
	println(["========test complete========="]).

