diff --git a/src/Array.ts b/src/Array.ts index a877332d..41d6b097 100644 --- a/src/Array.ts +++ b/src/Array.ts @@ -1,6 +1,6 @@ export const move = (input: T[], from: number, to: number) => { "worklet"; - const offsets = [...input]; + const offsets = input.slice(); while (from < 0) { from += offsets.length; }