/* Copy a single element out of the array from index @index into the location pointed to by @dst.  */
void _cairo_array_copy_element(const cairo_array_t *array, unsigned int index, void *dst)
/* Copy a single element out of the array from index @index into the location pointed to by @dst.  */
void _cairo_array_copy_element(const cairo_array_t *array, unsigned int index, void *dst)
{
    memcpy (dst, _cairo_array_index_const (array, index), array->element_size);
}