added filecopy function, fixed msg in usage function to match options