I think you are talking about something known as hitchhiking mutations. Suppose an organism develops two mutations A and B, which lie close together in the chromosome. A is beneficial and B is neutral. When the chromosome is copied during reproduction, the copy will contain both A and B (because they are nearby). This copy will have an overall advantage because of the presence of A, and will spread in the population. 
<a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Genetic_hitchhiking" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Genetic_hitchhiking</a>