How to copy output of binary task

It should not. Can you share your build script? Perhaps there is something else going on.