###User Defined Function###
_WinAPI_CopyFileEx

###Description###
Copies an existing file to a new file, notifying the application of its progress through a callback function.

###Syntax###
#include <WinAPIFiles.au3>
_WinAPI_CopyFileEx ( $sExistingFile, $sNewFile [, $iFlags = 0 [, $pProgressProc = 0 [, $pData = 0]]] )


###Parameters###
@@ParamTable@@
$sExistingFile
	The name of an existing file.
$sNewFile
	The name of the new file.
$iFlags
	[optional] The flags that specify how the file is to be copied. This parameter can be a combination of the following values:
		$COPY_FILE_ALLOW_DECRYPTED_DESTINATION
		$COPY_FILE_COPY_SYMLINK
		$COPY_FILE_FAIL_IF_EXISTS
		$COPY_FILE_NO_BUFFERING
		$COPY_FILE_OPEN_SOURCE_FOR_WRITE
		$COPY_FILE_RESTARTABLE
$pProgressProc
	[optional] The address of a callback function that is called each time another portion of the file has been copied.

	(See MSDN for more information)

$pData
	[optional] The argument to be passed to the callback function.
@@End@@

###ReturnValue###
@@ReturnTable@@
Success 	True.
Failure 	False, call <a href="_WinAPI_GetLastError.htm">_WinAPI_GetLastError()</a> to get extended error information
@@End@@


###Remarks###
None


###Related###


###See Also###
@@MsdnLink@@ CopyFileEx


###Example###
@@IncludeExample@@
