copy a.txt b.txt > nul

Where nul is the device or filename. Notice the single

l

in nul