[PLAT-6744] copy arrays of primitives in argument list