System.arraycopy(p.sysex, HSIZE, bank.sysex, getPatchStart(patchNum), SSIZE);
System.arraycopy(((Patch)p).sysex, HSIZE, ((Patch)bank).sysex, getPatchStart(patchNum), SSIZE);
    public void putPatch(Patch bank, Patch p, int patchNum) {        if (!canHoldPatch(p)) {	    JOptionPane.showMessageDialog		(null,		 "This type of patch does not fit in to this type of bank.",		 "Error", JOptionPane.ERROR_MESSAGE);	    return;	}        System.arraycopy(p.sysex, HSIZE, bank.sysex, getPatchStart(patchNum), SSIZE);        calculateChecksum(bank);    }