Adding gui text on game

How can I add what I input on a Text field to a GUI text on game ?

There are a lot of way to do it, one of them bellow:

string myText = "";

void OnGUI()
{
	myText = GUI.TextField(new Rect(0,0,100,30), myText, 1000);
	GUI.Label(new Rect(100,100,100,30), myText);
	/// or
	guiText.text = myText;
}