System.arraycopy(bank.sysex, patchNum * 1180, sysex, 0, 1180); Patch p = new Patch(sysex, getDevice());
System.arraycopy(((Patch)bank).sysex, patchNum * 1180, sysex, 0, 1180); IPatch p = new Patch(sysex, getDevice());
  public Patch getPatch(Patch bank, int patchNum)  {    byte sysex[] = new byte[1180];    System.arraycopy(bank.sysex, patchNum * 1180, sysex, 0, 1180);    Patch p = new Patch(sysex, getDevice());    return p;  }