copy a file with another extension

Hello everyboy, I have a file with a default extension and I need create another file with the same data but with other extension, how can I do this?thanks...
[172 byte] By [jcgonzalesa] at [2007-10-3 7:47:46]
# 1

> Hello everyboy, I have a file with a default

> extension and I need create another file with the

> same data but with other extension, how can I do

> this?

>

> thanks...

Do you have a more specific question? You seem to have it right. Copy the file and rename is with a different extension.

zadoka at 2007-7-15 2:49:23 > top of Java-index,Java Essentials,Java Programming...
# 2
ok, but how can I copy the file?
jcgonzalesa at 2007-7-15 2:49:23 > top of Java-index,Java Essentials,Java Programming...
# 3
> ok, but how can I copy the file?Read this: http://java.sun.com/docs/books/tutorial/essential/io/index.html
zadoka at 2007-7-15 2:49:23 > top of Java-index,Java Essentials,Java Programming...