You need to Share folders on both servers(unless otherwise you should b able to access it with hidden admin share: \\ServerFullyQualifiedDomainName\D$\ABC\ assuming ABC is in D: drive)...
So first Share ABC for read and list contents
Share XYZ for read/write/modify permissions.
Set objFSO = Server.CreateObject("Scripting.FileSystemObject")
strLocation1 = "\\Test1.Domain1\ABC\*.aspx.vb"
strLocation2 = "\\Test2.Domain2\XYS\"
objFSO.CopyFile strLocation1, strLocation2,true
Set objFSO = nothing
Remember this should be FQDN(Fully Qualified Domain Name) : Test1.Domain1
Thanks,
Kuthuparakkal