/*D
   MPI_Type_dup - Duplicate a datatype

Synopsis:
.vb
int MPI_Type_dup(MPI_Datatype oldtype, MPI_Datatype *newtype)
.ve

Input Parameters:
. oldtype - datatype (handle)

Output Parameters:
. newtype - copy of oldtype (handle)

.N ThreadSafe

.N Fortran

.N Errors
.N MPI_SUCCESS
.N MPI_ERR_ARG
.N MPI_ERR_TYPE
.N MPI_ERR_OTHER

D*/

