Found a solution.<div><br></div><div><span>Copy() only works for one level deep and since using fpc 2.2.4 the array became two levels deep.</span><br><br><span>Solution copy array A to array B using copy, then for each element of array B copy nested array from A to B.</span><br>
</div>