```ruby
module Faker
  module ArrayUtils
    def self.const_array(argument)
      array = argument.is_a?(Array) ? argument : argument.to_a
      array.extend ArrayUtils
      freeze_all(array)
    end

    def self.random_pick(array, n)
      indexes = (0...array.length).sort_by{Kernel.rand}[0...n]
      indexes.map { |n| array[n].dup }
    end

    def self.freeze_all(array)
      array.each { |e| e.freeze }
      array.freeze
      array
    end

    def self.shuffle(array)
      array.sort_by{Kernel.rand}
    end

    def random_pick(n)
      ArrayUtils.random_pick(self, n)
    end

    def freeze_all
      ArrayUtils.freeze_all(self)
    end

    def shuffle
      ArrayUtils.shuffle(self)
    end
  end
end
```

Revert rand methods with deprecate warning
user
```ruby
module Faker
  module ArrayUtils
    def self.const_array(argument)
      array = argument.is_a?(Array) ? argument : argument.to_a
      array.extend ArrayUtils
      freeze_all(array)
    end

    def self.random_pick(array, n)
      indexes = (0...array.length).sort_by{Kernel.rand}[0...n]
      indexes.map { |n| array[n].dup }
    end

    def self.rand(array)
      warn '[ArrayUtils.rand] is deprecated. Please use the Array#sample method'
      array.sample
    end

    def self.freeze_all(array)
      array.each { |e| e.freeze }
      array.freeze
      array
    end

    def self.shuffle(array)
      array.sort_by{Kernel.rand}
    end

    def random_pick(n)
      ArrayUtils.random_pick(self, n)
    end

    def rand
      warn '[ArrayUtils#rand] is deprecated. Please use the Array#sample method'
      sample
    end

    def freeze_all
      ArrayUtils.freeze_all(self)
    end

    def shuffle
      ArrayUtils.shuffle(self)
    end
  end
end
```
assistant