I have an array that holds some values and a function that takes in two arrays. What I want to do is split the array so that the last element is not in the array so I have two arrays, one that has all the original elements except the last and one that has just one element - the last. After I pass this into a function, I want to use the original array but this time put the second last element into a seperate array and so on. I want to do this five times. The following will explain it better:I have an array that holds some values and a fu