"can't find anything that works"
EH?
So you put in batch file commands into google?
"I would like a script that would copy a folder \\Server-1\homes$\bob
to \\Server-2\backUp$\bob"
xcopy \\Server-1\homes$\bob\*.* \\Server-2\backUp$\bob /s /o /v
"Or to copy every thing in H Drive to Y Drive."
H:
cd\
xcopy *.* Y: /s /o /v
Assuming the account you are running under already has these drive mappings. Otherwise you have you map the drives first in the script before running xcopy.
Consider using ntbackup to copy your files. It has better compression though you have to use it to restore files vs just having them available on server b.
run xcopy /? at a cmd prompt to learn more about xcopy.