Dynamic arrays and amortized cost

A dynamic array moves into a bigger block when it fills, classically one twice as big, so one append now and then copies everything, yet $n$ appends copy fewer than $2n$ items in all, which is $O(1)$ amortized per append.

From Data Structures and Algorithms.