module FileUtils

def mv(src, dest, options = {})

Other tags:
    See: {FileUtils::mv} -
    See: http://www.ruby-forum.com/topic/1044813 -
    See: https://github.com/berkshelf/berkshelf/issues/140 -
def mv(src, dest, options = {})
  old_mv(src, dest, **options)
rescue Errno::EACCES, Errno::ENOENT
  options.delete(:force) if options.key?(:force)
  FileUtils.cp_r(src, dest, **options)
  FileUtils.rm_rf(src)
end