.. include:: ../substitutions

.. oe:namespace:: OESystem

.. meta::
   :keywords: OECopyBaseData

.. oe:function:: OECopyBaseData

   .. oe:language:: c++ java csharp

      .. oe:api::

         void OECopyBaseData(OEBase& dst, const OEBase& src)

   .. oe:language:: python

      .. oe:api:: python

         OECopyBaseData(dst: OEBase, src: OEBase) -> None

   Copy :ref:`generic data<chapter_genericdata>` from one :ref:`OEBase <OESystem_OEBase>` to
   another.

   *dst*
     The destination of the generic data.
     :oe:meth:`OESystem::OEBase::Clear` is first called on
     this object to remove all data prior to copying.

   *src*
     The source of the generic data that is copied over.
