Learning by imitation means that you adapt the behaviour of others. This is a subconscious learning process that can be both positive and negative.
When you are young, your parents and friends play a crucial role in this learning process. If you know that a person close to you is driving irresponsibly, it is important that you do not take on that person's behaviour.