Write a method, called shiftLeft, that accepts an integer array as its parameter, and returns an array that is "left shifted" by one. For example, if the input parameter array has (6, 2, 5, 3, the returned array will contain [2,5,3,6 Your method must follow these requirements 1. Your method must create a deep copy of the parameter array, modify this copy and return the modified copy. You can't modify the parameter array 2. Your code should consider the edge case when the input parameter array is null 3.Your code should consider the edge case when the input parameter array is a O length array. In this edge case, your code should return a zero length array (not the parameter array but another zero length array that you create in the method) The input array can be any legitimate int array Here are a few sample LO for your reference shiftLeft (16, 2, 5 31)-12. 5, 3. 6 shiftLeft([i, 2)2, 1 shiftleft((1)-11 shiftLeft(1)-I shiftLeft (nul1)null public int[1 shiftleft (int input) Write a method, called shiftLeft, that accepts an integer array as its parameter, and returns an array that is "left shifted" by one. For example, if the input parameter array has (6, 2, 5, 3, the returned array will contain [2,5,3,6 Your method must follow these requirements 1. Your method must create a deep copy of the parameter array, modify this copy and return the modified copy. You can't modify the parameter array 2. Your code should consider the edge case when the input parameter array is null 3.Your code should consider the edge case when the input parameter array is a O length array. In this edge case, your code should return a zero length array (not the parameter array but another zero length array that you create in the method) The input array can be any legitimate int array Here are a few sample LO for your reference shiftLeft (16, 2, 5 31)-12. 5, 3. 6 shiftLeft([i, 2)2, 1 shiftleft((1)-11 shiftLeft(1)-I shiftLeft (nul1)null public int[1 shiftleft (int input)