added require fileutils and change File.copy to FileUtils.copy

Fixes the problem I was having with File.copy not being found.