# Class CIM_CopyFileAction
extends CIM_FileAction

CopyFileAction specifies the files to be moved or copied to a new location. The to/from information for the copy is specified using either the ToDirectorySpecification/ FromDirectorySpecification or the ToDirectoryAction/ FromDirectoryAction associations. The first set is used when the source and/or the target are to exist before any Actions are taken. The second set is used when the source and/or target are created as a part of a previous Action (specified using the association, ActionSequence).

### Table of Contents
Hierarchy
Direct Known Subclasses
Class Qualifiers
Class Properties
Class Methods

## Class Hierarchy

CIM_ManagedElement
|
+--CIM_Action
|
+--CIM_FileAction
|
+--CIM_CopyFileAction

## Direct Known Subclasses

## Class Qualifiers

Name | Data Type | Value
--- | --- | ---
Description | string | CopyFileAction specifies the files to be moved or copied to a new location. The to/from information for the copy is specified using either the ToDirectorySpecification/ FromDirectorySpecification or the ToDirectoryAction/ FromDirectoryAction associations. The first set is used when the source and/or the target are to exist before any Actions are taken. The second set is used when the source and/or target are created as a part of a previous Action (specified using the association, ActionSequence).
UMLPackagePath | string | CIM::Application::CheckAction
Version | string | 2.6.0

## Class Properties

### Local Class Properties

Name | Data Type | Default Value | Qualifiers
--- | --- | --- | ---
Name | Data Type | Value
DeleteAfterCopy | boolean |
Description | string | Boolean indicating that the file should be deleted after being copied.
Destination | string |
Description | string | The destination directory.
MaxLen | uint32 | 1024
Source | string |
Description | string | The source directory.
MaxLen | uint32 | 1024

### Inherited Properties

Name | Data Type
--- | ---
ActionID | string
Caption | string
Description | string
Direction | uint16
ElementName | string
Generation | uint64
InstanceID | string
Name | string
SoftwareElementID | string
SoftwareElementState | uint16
TargetOperatingSystem | uint16
Version | string

## Class Methods

### Inherited Class Methods

Name | Return Type
--- | ---
Invoke | uint32
InvokeOnSystem | uint32