JAVA How to save multiple arrays into a single array : I'm currently trying to save multiple arrays into a single array where the data can later be called in a next function. The data is currently in an ArrayList<ArrayList> which is then getting called. N number of indexes are then output on the console. I want to save those indexes into an array that can be used. 

Example:
You start off with
```
[[1.52101, 13.64, 4.49, 1.1, 71.78, 0.06, 8.75, 0.0, 0.0], [1.51761, 13.89, 3.6, 1.36, 72.73, 0.48, 7.83, 0.0, 0.0], [1.51618, 13.53, 3.55, 1.54, 72.99, 0.39, 7.78, 0.0, 0.0]]
```
If your numCen = 2. You'll get one of these array outputed such as:
```
[1.52101, 13.64, 4.49, 1.1, 71.78, 0.06, 8.75, 0.0, 0.0]
[1.51761, 13.89, 3.6, 1.36, 72.73, 0.48, 7.83, 0.0, 0.0]
```

I need to save both arrays into one array now.
```
	public static void ranCentroid() {
		Random randomPoint = new Random();
		for (int i = 0; i < numCen; i++) {
			int randomP = randomPoint.nextInt(Points.size());
			System.out.println(Points.get(randomP));
		}
	}
```