As demonstrated in the Arrays section of the Java Tutorials, the System class provides an arraycopy method that can be used to copy the contents from one array into another. The method below shows use ...
It's not terribly clean, but you could use indexOf() and check if it returns -1. Better than breaking out a loop.
Some results have been hidden because they may be inaccessible to you
Show inaccessible results