Implement Array.copyWithin as well as some abstract operations used by it.