Originally Posted By: psykix
Is there a function to check the date and timestamp on a file?


Yup - look up GetFileTime() in the manual.

Here is a very simple way of doing what you want:
 Code:
$sSourceDir="\\server\share"
$sTargetDir="%WINDIR%"
$sFile="ScreenSaver.scr"

If GetFileTime($sSourceDir+"\"+$sFile) > GetFileTime($sTargetDir+"\"+$sFile)
	Copy $sSourceDir+"\"+$sFile $sTargetDir+"\"+$sFile
EndIf