How in Java static allocate memory for an array? (you need to create a copy of a given matrix, and then, if you allocate memory dynamically, it turns out, in fact, 2 references to one matrix, and if you change the bottom, the other will change)

0