init and add copyfile to copy a file to windows 8 agent