message: Add MFEM_VERIFY to CopyTo.
diff: @@ -481,8 +481,7 @@ public:
  /// Copy @a size entries from @a *this to @a dest.
  /** The given @a size should not exceed the Capacity() of @a *this and the
  destination, @a dest. */
  - inline void CopyTo(Memory &dest, int size) const
  - { dest.CopyFrom(*this, size); }
  + inline void CopyTo(Memory &dest, int size) const;
  /// Copy @a size entries from @a *this to the host pointer @a dest.
  /** The given @a size should not exceed the Capacity() of @a *this. */
  @@ -1124,6 +1123,13 @@ inline void Memory<T>::CopyFromHost(const T *src, int size)
  }
  }
  +template <typename T>
  +inline void Memory<T>::CopyTo(Memory &dest, int size) const
  +{
  + MFEM_VERIFY(capacity>=size, "Incorrect size");
  + dest.CopyFrom(*this, size);
  +}
  +
  template <typename T>
  inline void Memory<T>::CopyToHost(T *dest, int size) const
  {
  