System.arraycopy(bank.sysex,264*i,p.sysex,0,264);
System.arraycopy(((Patch)bank).sysex,264*i,p.sysex,0,264);
    public void storePatch (Patch bank, int bankNum,int patchNum)    {         // This is called when the user want to Store a bank.        byte [] newsysex = new byte[264];        Patch p = new Patch(newsysex, getDevice());        try         {                   for (int i=0;i<16;i++)             {                System.arraycopy(bank.sysex,264*i,p.sysex,0,264);                sendPatchWorker(p);                Thread.sleep(100); // a small delay to play safe            }        }catch (Exception e) {ErrorMsg.reportError("Error","Unable to send Patch",e);}    }