The answer is Modeling.
Modeling is one way in which behavior is learned. When a person observes the behavior of another and then imitates that behavior, he or she is modeling the behavior. This is sometimes known as observational learning or social learning.