How to expand a file in .ino

I have a text, or rather a code in the form of text, how can I expand the text into a file. ino on the phone?

Your question does not make sense.

A .ino file is just a text file with an .ino file type instead of a .txt file type.