If both scipts ar eonscripts are on the same GameObjectGameObject, you can use this
gameObject.GetComponent<move>().speed
This will access the given variable, in this case "speed"speed.
If the scripts are on different GameObjects you can do this :
GameObject.Find("nameOfObjectYourScriptIsOn").GetComponent<move>().speed
and you should have access to the variable speedspeed.
Note : You need to replace "nameOfObjectYourScriptIsOn"nameOfObjectYourScriptIsOn with the name of the GameObjectGameObject you have attached movethe move script to.