I am facing a question in which I am required to create a function that gets a 2D array and it\'s size and it should return another 2D array which is basically the same one