thanks.. I figured out my own way to do the same thing..Maybe this can help someone also..
Update " PathSource Here ", "PathTarget Here"
Function Update(sSource, sTarget)
Dim oFSO
Dim oSource
Set oFSO = WScript.CreateObject("Scripting.FileSystemObject"
If oFSO.FileExists(sSource) Then
Set oSource = oFSO.GetFile(sSource)
If Not oFSO.FileExists(sTarget) Then
oSource.Copy sTarget, True
ElseIf oSource.DateLastModified > oFSO.GetFile(sTarget).DateLastModified Then
oSource.Copy sTarget, True
End If
Else
MsgBox "Source file does not exist!"
End If
End Function