It depends on how and where you declared your array list. If it is an instance variable in the same class like your AnalyseArray() method you don't have to pass it along. The method will know the list and you can simply use the A in whatever purpose you need.
If they don't know each other, e.g. beeing a local variable or declared in a different class, define that your AnalyseArray() method needs an ArrayList parameter
public void AnalyseArray(ArrayList theList){}
and then work with theList inside that method. But don't forget to actually pass it on when calling the method.AnalyseArray(A);
PS: Some maybe helpful Information to Variables and parameters.