There must be some really elegant way of copying end of the Array using Swift starting from some index, but I just could not find it, so I ended with this:
f
You could use the new method removeFirst(_:) in Swift 4
var array = [1, 2, 3, 4, 5] array.removeFirst(2) print(array) // [3, 4, 5]