T[] jokaResizeSlice(T)(T * values, Sz length, Sz oldLength = 0, IStr file = __FILE__, Sz line = __LINE__)
Resizes a slice, with the previous pointer getting freed.