I\'m using VSTS as a build server, and while building I want to copy the bin folder contents to the root of the target, and also custom files from another folder to this tar
Make artifacts of each file you want to copy. Then create a 'copy file' task of each file of these artifacts. Then it doesn't copy the source tree structure.