cdrBufOutput buffer = new cdrBufOutput();
BufferedCdrOutput buffer = new BufferedCdrOutput();
  public DynAny copy()  {    if (holder != null)      {        cdrBufOutput buffer = new cdrBufOutput();        holder._write(buffer);        gnuDynAny other;        try          {            other =              new gnuDynAny((Streamable) (holder.getClass().newInstance()),                            official_type, final_type, factory, orb                           );          }        catch (Exception e)          {            // Holder must have parameterless constructor.            throw new Unexpected(e);          }        other.holder._read(buffer.create_input_stream());        return other;      }    else      {        return new gnuDynAny(null, official_type, final_type, factory, orb);      }  }