Instantiate object another class

how do I instantiate an object of another class? It’s been a while since I was using units and I’m losing

woods = new Wood[indexSize];
        isMove = true;
        for (int i = 0; i < indexSize; i++)
        {
           y += 0.5f;
           Wood test = new Wood(copy.transformWood);//Instantiate(copy, new Vector3(0, y, 0), Quaternion.identity) as Wood;
           woods[i] = test; 
        }
        //print(woods[0].transform.name);
        currentWood = woods[0];

Wood Class:

public class Wood 
{
    public bool isMove;
    public Transform transformWood;
    public Wood(Transform transform)
    {
        this.transformWood = transform;
        isMove = true;
    }
   
    
}

Wood is a class so you just use new. It doesn’t extend monobehaviour so it doesn’t have a “transform” as it can’t be attached directly to an object. If you want to attach a game object to it you can instantate wherever makes sense.