copyOf

Creates a deep copy of the current BitSet instance.

Return

A new BitSet object containing the same state as the current one.