Titration of H2SO4 w NaOH: Solving for the molarity of H2SO4?
The molarity would be the same whether you have $5~\mathrm{mL}$ of $\ce{H2SO4}$ or a swimming pool full of it.

However, if you wanted to solve for moles of $\ce{H2SO4}$ in $50~\mathrm{mL}$, you would have to multiply the number of moles in the $10~\mathrm{mL}$ sample by $5$.

Note: Make sure you're working with molarity and not moles. I'm in analytical chem right now and often we're multiplying the number of moles in our sample by the total volume of the volumetric flask from which the sample was drawn, so we're doing calculations similar to this.