if (!Arrays.equals(inputValues, startingBit, exclLastIndex, newValues, 0, newValues.length))
{
System.arraycopy(newValues, 0, inputValues, startingBit, newValues.length);
if (!Arrays.equals(inputValues, startingBit, exclLastIndex, newValues, 0, newValues.length))
{
System.arraycopy(newValues, 0, inputValues, startingBit, newValues.length);