--- a/src/array_list.c	Sun Nov 20 17:22:37 2022 +0100
+++ b/src/array_list.c	Sun Nov 20 17:47:26 2022 +0100
@@ -266,7 +266,7 @@
             index,
             ((char *) arl->data) + (index + 1) * list->itemsize,
             list->itemsize,
-            list->size - index,
+            list->size - index - 1,
             &arl->reallocator
     );
     if (result == 0) {