--- a/src/array_list.c Tue Dec 16 11:48:52 2025 +0100 +++ b/src/array_list.c Tue Dec 16 12:07:01 2025 +0100 @@ -80,7 +80,7 @@ return 0; } -int cx_array_move_to_new_(const CxAllocator *allocator, CxArray *array, size_t elem_size, size_t capacity) { +int cx_array_copy_to_new_(const CxAllocator *allocator, CxArray *array, size_t elem_size, size_t capacity) { CxArray heap_array; if (cx_array_init_(allocator, &heap_array, elem_size, capacity)) { return -1; // LCOV_EXCL_LINE