System.arraycopy(p.sysex,7,bank.sysex,getPatchStart(patchNum),264-7);
System.arraycopy(((Patch)p).sysex,7,((Patch)bank).sysex,getPatchStart(patchNum),264-7);
    public void putPatch(Patch bank,Patch p,int patchNum)    {        // This method is called when doing a paste (from another bank or a single)        // the patch received will be a single dump (meant for the edit buffer)        // we need to extract the actual patch info and paste it in the bank itself        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,7,bank.sysex,getPatchStart(patchNum),264-7);        calculateChecksum(bank);    }