Make Builtin array bigger

Hello, I got into the bad situation where I need to wider builtin array and add one item to it.
The code I were using(but it was not working):

static var moversList : Mover[];

function AddMoverToThatList(mover : Mover){
var savedList : Array = new Array(moversList);
moversList = [new Mover(moversList.Length)];
moversList = savedList;
moversList[moversList.Length - 1];
}

Console says that I missed to write semicolumn at the end of the line, but I think it’s my writing error.

I have tried to use javascript arrays, but it gave me some strange errors:

The same code with javacript arrays(not working also, giving me NullReferenceException: Object reference not set to an instance of an object):

static var moversList : Array;

function AddMoverToThatList(mover : Mover){
moversList.Add(mover);
}

I do pass mover variable to this script from script called Mover with this command:

SomeScript.AddMoverToThatList(this);

Yeah, first off, the method isn’t correct:

static var moversList : Mover[];

function AddMoverToThatList(mover : Mover)
{
	var newList : Mover[] = new Mover[moversList.Length + 1];
	
	for (var i : int = 0; i < moversList.Length; i++)
	{
		newList[i] = moversList[i];
	}	
	newList[moversList.Length] = mover;

	moversList = newList;
}

Secondly, if you’re going to be altering the array, you really should use the List<> class instead. It automatically resizes and manages a wrapped builtin array as needed:

static var moversList : List.<Mover> = new List.<Mover>();

moversList.Add(someNewMover);
moversList.Add(someOtherMover);

for (var i : int = 0; i < moversList.Count; i++)
{
	Debug.Log("Mover: " + moversList[i]);
}

moversList.RemoveAt(1);


//note, this might be "foreach", not sure with JavaScript
for(var currentMover : Mover in moversList)
{
	Debug.Log("Mover: " + currentMover);
}

Thanks for your answer. It works fine now.