Hi Nenad,
why do you cast Point3d[] array to System.Array? I don't see any reason to do it and even the parameter itself is defined (using decompiler) as [In][Out] ref Point3d[] Vertices. Make your code simpler and use Point3d[] as required, I guess it should work fine.
I also don't understand why you pass vArray as ref, because any array is reference type and is always passed as reference and not value, so ref modifier is reduntant.
With regards,
Jan