---
title: copy()
framework: createml
role: symbol
role_heading: Instance Method
path: createml/mldatacolumn/copy()
---

# copy()

Returns a new MLDataColumn by copying the original MLDataColumn

## Declaration

```swift
func copy() -> MLDataColumn<Element>
```

## Return Value

Return Value A MLDataColumn which is a copy of the original MLDataColumn.
