No, the grades from your master cannot replace the grades from your bachelor. They can however, be added to the GPA calculation of your bachelor.