Hi, For some reason my postings all show up as one single line. Any idea why? If you would like to read this normally have a look at the attached text file. I'm trying to copy an array from one class instance to another, but keep getting compilation errors everywhere I go. Please have a look at the code below: package t; class yy; int a[$]; endclass class x; int b[$]; yy y1; function u(); // option 1 : doesn't compile b = y1.a; // option 2 : doesn't compile foreach (y1.a[i]) b.push_back(y1.a[i]); // option 3 : compiles but I really wish I don't have to use it each time I want to copy an array! for (int i=0; i