Added args and a copy file function