SyntaxFix
Write A Post
Hire A Developer
Questions
This is the code I use for that:
ArrayList copy = new ArrayList (original.size()); Collections.copy(copy, original);
Hope is usefull for you