use fileutils copy function