use simple memcpy() instead of explicit C array copying
extend C array coercion tests