creating/copying files..



Pls, what is best way to create or copy files?

in java.io.file  I see under the constructors:

Creates a new File instance from a parent abstract pathname and a child pathname string.

what is a file "instance"?

I mean if I want to create an html file, then write into it, how would I do that?

(FileWriter is just for writing into files, not creating them.. is this right?) thanks..

Frances
.