:orphan:
# DMTSCopy
copies the information in a `DMTS` to another `DMTS` 
## Synopsis
```
#include "petscts.h" 
PetscErrorCode DMTSCopy(DMTS kdm, DMTS nkdm)
```
Not Collective


## Input Parameters

- ***kdm -*** Original `DMTS`
- ***nkdm -*** `DMTS` to receive the data, should have been created with `DMTSCreate()`





## See Also
 [](ch_ts), `DMTSCreate()`, `DMTSDestroy()`

## Level
developer

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/ts/utils/dmts.c.html#DMTSCopy">src/ts/utils/dmts.c</A>


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/ts/utils/dmts.c)


[Index of all TS routines](index.md)  
[Table of Contents for all manual pages](/manualpages/index.md)  
[Index of all manual pages](/manualpages/singleindex.md)  
