Click or drag to resize

FileCopy Method

Overload List
  NameDescription
Public methodStatic memberCopy(String, String)
Copies an existing file to a new file. Overwriting a file of the same name is not allowed.
Remarks

The attributes of the original file are retained in the copied file.

Whenever possible, avoid using short file names (such as XXXXXX~1.XXX) with this method.

If two files have equivalent short file names then this method may fail and raise an exception and/or result in undesirable behavior.

Public methodStatic memberCopy(String, String, CopyOptions)
[AlphaFS] Copies an existing file to a new file. Overwriting a file of the same name is allowed. CopyOptions can be specified.
Remarks

Option NoBuffering is recommended for very large file transfers.

The attributes of the original file are retained in the copied file.

Whenever possible, avoid using short file names (such as XXXXXX~1.XXX) with this method.

If two files have equivalent short file names then this method may fail and raise an exception and/or result in undesirable behavior.

Public methodStatic memberCopy(String, String, PathFormat)
[AlphaFS] Copies an existing file to a new file. Overwriting a file of the same name is not allowed.
Remarks

The attributes of the original file are retained in the copied file.

Whenever possible, avoid using short file names (such as XXXXXX~1.XXX) with this method.

If two files have equivalent short file names then this method may fail and raise an exception and/or result in undesirable behavior.

Public methodStatic memberCopy(String, String, Boolean)
Copies an existing file to a new file. Overwriting a file of the same name is allowed.
Remarks

The attributes of the original file are retained in the copied file.

Whenever possible, avoid using short file names (such as XXXXXX~1.XXX) with this method.

If two files have equivalent short file names then this method may fail and raise an exception and/or result in undesirable behavior.

Public methodStatic memberCopy(String, String, CopyOptions, PathFormat)
[AlphaFS] Copies an existing file to a new file. Overwriting a file of the same name is allowed. CopyOptions can be specified.
Remarks

Option NoBuffering is recommended for very large file transfers.

The attributes of the original file are retained in the copied file.

Whenever possible, avoid using short file names (such as XXXXXX~1.XXX) with this method.

If two files have equivalent short file names then this method may fail and raise an exception and/or result in undesirable behavior.

Public methodStatic memberCopy(String, String, CopyOptions, Boolean)
[AlphaFS] Copies an existing file to a new file. Overwriting a file of the same name is allowed. CopyOptions can be specified.
Remarks

Option NoBuffering is recommended for very large file transfers.

The attributes of the original file are retained in the copied file.

Whenever possible, avoid using short file names (such as XXXXXX~1.XXX) with this method.

If two files have equivalent short file names then this method may fail and raise an exception and/or result in undesirable behavior.

Public methodStatic memberCopy(String, String, Boolean, PathFormat)
[AlphaFS] Copies an existing file to a new file. Overwriting a file of the same name is allowed.
Remarks

The attributes of the original file are retained in the copied file.

Whenever possible, avoid using short file names (such as XXXXXX~1.XXX) with this method.

If two files have equivalent short file names then this method may fail and raise an exception and/or result in undesirable behavior.

Public methodStatic memberCopy(String, String, CopyOptions, CopyMoveProgressRoutine, Object)
[AlphaFS] Copies an existing file to a new file. Overwriting a file of the same name is allowed. CopyOptions can be specified,

and the possibility of notifying the application of its progress through a callback function.

Remarks

Option NoBuffering is recommended for very large file transfers.

The attributes of the original file are retained in the copied file.

Whenever possible, avoid using short file names (such as XXXXXX~1.XXX) with this method.

If two files have equivalent short file names then this method may fail and raise an exception and/or result in undesirable behavior.

Public methodStatic memberCopy(String, String, CopyOptions, Boolean, PathFormat)
[AlphaFS] Copies an existing file to a new file. Overwriting a file of the same name is allowed. CopyOptions can be specified.
Remarks

Option NoBuffering is recommended for very large file transfers.

The attributes of the original file are retained in the copied file.

Whenever possible, avoid using short file names (such as XXXXXX~1.XXX) with this method.

If two files have equivalent short file names then this method may fail and raise an exception and/or result in undesirable behavior.

Public methodStatic memberCopy(String, String, CopyOptions, CopyMoveProgressRoutine, Object, PathFormat)
[AlphaFS] Copies an existing file to a new file. Overwriting a file of the same name is allowed. CopyOptions can be specified,

and the possibility of notifying the application of its progress through a callback function.

Remarks

Option NoBuffering is recommended for very large file transfers.

The attributes of the original file are retained in the copied file.

Whenever possible, avoid using short file names (such as XXXXXX~1.XXX) with this method.

If two files have equivalent short file names then this method may fail and raise an exception and/or result in undesirable behavior.

Public methodStatic memberCopy(String, String, CopyOptions, Boolean, CopyMoveProgressRoutine, Object)
[AlphaFS] Copies an existing file to a new file. Overwriting a file of the same name is allowed. CopyOptions can be specified,

and the possibility of notifying the application of its progress through a callback function.

Remarks

Option NoBuffering is recommended for very large file transfers.

The attributes of the original file are retained in the copied file.

Whenever possible, avoid using short file names (such as XXXXXX~1.XXX) with this method.

If two files have equivalent short file names then this method may fail and raise an exception and/or result in undesirable behavior.

Public methodStatic memberCopy(String, String, CopyOptions, Boolean, CopyMoveProgressRoutine, Object, PathFormat)
[AlphaFS] Copies an existing file to a new file. Overwriting a file of the same name is allowed. CopyOptions can be specified,

and the possibility of notifying the application of its progress through a callback function.

Remarks

Option NoBuffering is recommended for very large file transfers.

The attributes of the original file are retained in the copied file.

Whenever possible, avoid using short file names (such as XXXXXX~1.XXX) with this method.

If two files have equivalent short file names then this method may fail and raise an exception and/or result in undesirable behavior.

Top
See Also