This method of the PermissionUtils Class returns a deep copy of an array of IntRanges objects. Each element is copied using the IntRanges.copy method.
public static IntRanges[] copyArrayOfIntRanges(IntRanges[] ap);
Returns null if ap is null; otherwise, returns a new array that contains copies of the elements of ap.
ap | An array of IntRanges, or null. The array can contain null elements. |