Package: alexandria

Function copy-array

Lambda List

copy-array (array &key element-type fill-pointer adjustable)


Returns an undisplaced copy of array, with same fill-pointer and adjustability (if any) as the original, unless overridden by the keyword arguments. Performance depends on efficiency of general adjust-array in the host lisp - for most cases a special purpose copying function is likely to perform better.