question: private static RegisterSpec [ ] dupArray ( RegisterSpec [ ] orig ) { RegisterSpec [ ] copy = new RegisterSpec [ orig . length ] ; System . arraycopy ( orig , 0 , copy , 0 , orig . length ) ; return copy ; }
target:  Duplicates a RegisterSpec array.