saving files

I created an .ino sketch and I need to add a .h and .cpp file from a third party. I copied the text and I want to save it.

However, it is only saving as a .ino file.
How do I get it to save so that it is recognized as the proper INCLUDE files for my main project?

I am using the Arduino 1.0.5 compiler.

Thanks.

Edit: I tried using NEW tab. This seems to save the file but in a subdirectory. Is this correct, or should it be in the same directory?

I copied the text

You copied it where?

I copied it into a blank sketch panel and then did a save.

imsmooth:
I copied it into a blank sketch panel and then did a save.

Wrong. The IDE has a new tab button. Click that, and type in a new name ending in .h or .cpp. Or use your favorite text editor to create the files in the sketch directory (with the .ino file).