Move

constructor(from: Int, to: Int)

Parameters

from

old index of the element

to

new index of the element