fun copyToPath(path: String): Unit
Copies the attachment to the specified file path.
path - the path that the attachment should be copied to.
path