public static void cloneAll ( Collection < BugInstance > dest , Collection < BugInstance > source ) { for ( BugInstance obj : source ) { dest . add ( ( BugInstance ) obj . clone ( ) ) ; } }
Clone all of the BugInstance objects in the source Collection and add them to the destination Collection .