So I\'m trying to copy these subarrays into another array and change them so their values are cumulative as I put them in. In order to make them cumulative, I am using the m