Copy the dependency of the sample to the output folder