You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: safe_ln.rb
    path of file: ./repos/facets/lib/standard/facets/fileutils
    
    the code of the file until where you have to start completion: require 'fileutils'

module FileUtils

  module_function

  LINKING_SUPPORTED = [true]

  
    
  def safe_ln(*args)
    unless LINKING_SUPPORTED[0]
      cp(*args)
    else
      begin
        ln(*args)
      rescue Errno::EOPNOTSUPP
        LINKING_SUPPORTED[0] = false
        cp(*args)
      end