public static boolean isChunkIDEuqal(byte[] one, int oneOffset,
                                             byte[] another, int anotherOffset) {
            if (one != null && another != null
                    && one.length >= 4 + oneOffset
                    && another.length >= 4 + anotherOffset) {
                for (int i = 0; i < 4; i++) {
                    if (one[i + oneOffset] != another[i + anotherOffset]) {
                        return false;
                    }
                }
                return true;
            }
            return false;
        }