Bug 130492 Provide a method to serialize the report with library information.
Currently, when engine generate the report document file, the document does not contain any library information. That will cause many propblem on server side. Model should provide a method to serialize the report with library information to a stream so that the generated report document can contain all information that the report need.
model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/util/ModelUtil.java
* element/structure name will be returned.
	 * </ul>
	 * 
	 * @param propDefn
	 *            definition of property
	 * @param value
	 *            value to clone
	 * @return new value
	 */
	public static Object copyValue( IPropertyDefn propDefn, Object value )
	{
		if ( value == null )
			return null;
		switch ( propDefn.getTypeCode( ) )
		{
			case PropertyType.STRUCT_TYPE :
				if ( propDefn.isList( ) )
					return ModelUtil.cloneStructList( (List) value );
				return ( (Structure) value ).copy( );
			case PropertyType.ELEMENT_REF_TYPE :
			case PropertyType.STRUCT_REF_TYPE :
				ReferenceValue refValue = (ReferenceValue) value;
				return refValue.copy( );
			case PropertyType.LIST_TYPE :
				return ModelUtil.clonePropertyList( (List) value );
		}
		return value;
	}
	/**
	 * Copies a list of simple property values.