newXsqlvar[i].copyFrom(oldXsqlvar[i]);
newXsqlvar[i] = oldXsqlvar[i].deepCopy();
    public void addBatch() throws  SQLException {                boolean allParamsSet = true;        for (int i = 0; i < isParamSet.length; i++) {			allParamsSet &= isParamSet[i];		}                if (!allParamsSet)            throw new FBSQLException("Not all parameters set.");                XSQLVAR[] oldXsqlvar = fixedStmt.getInSqlda().sqlvar;                XSQLVAR[] newXsqlvar = new XSQLVAR[oldXsqlvar.length];        for (int i = 0; i < newXsqlvar.length; i++) {			newXsqlvar[i] = new XSQLVAR();            newXsqlvar[i].copyFrom(oldXsqlvar[i]);                        /*            newXsqlvar[i].aliasname = oldXsqlvar[i].aliasname;            newXsqlvar[i].ownname = oldXsqlvar[i].ownname;            newXsqlvar[i].relname = oldXsqlvar[i].relname;            newXsqlvar[i].sqllen = oldXsqlvar[i].sqllen;            newXsqlvar[i].sqlname = oldXsqlvar[i].sqlname;            newXsqlvar[i].sqlscale = oldXsqlvar[i].sqlscale;            newXsqlvar[i].sqlsubtype = oldXsqlvar[i].sqlsubtype;            newXsqlvar[i].sqltype = oldXsqlvar[i].sqltype;            newXsqlvar[i].sqldata = oldXsqlvar[i].sqldata;            */		}                batchList.add(newXsqlvar);    }