In statistics, the process of generating random samples is called sampling.
In r and some other programming languages, the function sample performs random sampling of a set with or without replacement.
sample