public byte[] toByteArray() {
		return Bits.copy(_data, _start, _end);
	}
Return the {@code byte[]} array, which represents the state of the state
of {@code this} bit-array.

{@snippet lang="java":
final BitArray bits = null; // @replace substring='null' replacement="..."
final byte[] bytes = bits.toByteArray();
assert bits.equals(BitArray.of(bytes, bits.length()));
}

@return the bit-array data as {@code byte[]} array
jenetics/src/main/java/io/jenetics/internal/collection/BitArray.java