how to add clone in array

i m creating game in that game the object has to move one after other i m not able to set the position on clone object
here is my code

cubeTransform = transform.gameObject.Find(“cube(Clone)”).transform ;
var direction:Vector3 = transform.position - (i * cubeTransform*.position ) ;*
cubeTransform_.position += (direction * speed * Time.deltaTime );
please help me_

If you have more than one “cube(Clone)” in the scene, your code above finds the first “cube(Clone)” over and over again and process the rest of the movement, hence you are not seeing other “cube(Clone)” moving one after the other. You need to give a unique name to cubes after you instantiate them. In your case you can do like this

var cubeCounter = 0;

function YourInstantiateFunction()
{
    GameObject cube = Instantiate(...);
    cube.name = "cube" +cubeCounter.ToString();
    cubeCounter++;

}

funtion FollowCubeFunction()
{
   for( ... )
   {
      cubeTransform *= transform.gameObject.Find("cube" + i.ToString()).transform;* 

var direction:Vector3 = transform.position-(icubeTransform.position);*
cubeTransform_.position += (direction * speed * Time.deltaTime );
}_

}