This is my first question in a community like this, so my format in question may not be very good sorry for that in the first place.
Now that my problem is I want to
You might need something like this:
public class Example { public static void main(String[] args) { int[][] envoriment = {{1, 1, 1, 1}, {0, 1, 6}, {1}}; int[][] copyArray = new int[envoriment.length][]; System.arraycopy(envoriment, 0, copyArray, 0, envoriment.length); } }