Help adding transform to end of array

Type UnityEngine.Transform[] does not contain a definition for Add and no extension method Add of type UnityEngine.Transform[] could be found. Are you missing an assembly reference?

Need help to add to the end of transform array in unity. Please help!
TransformArray.Add(Transform2);

Don’t use an array. Use a List: List<T> Class (System.Collections.Generic) | Microsoft Learn

To create a list, type:

List<Transform> transformList = new List<Transform> ();

To add to a list: type:

transformList.Add (anotherTransform);