If you're in front of the pokemon center, go up to the street above it. There are two dark houses, go to the one all the way to the left. When u enter, talk to the boy at the top left of the room in the house and he will give you HM04 Strength. BTW i changed this answer to be more specific. The person before did helped out a lot to help me find the move strength.
Route 18
The rocks do not move until you have encountered Cobalion.
once you earn a certain amount of gym badges you will be able to teach a special move to your Pokemon( which will show up in HMS and tms part of bag).
By using the HM Strength.
In Pokémon Brick Bronze, Machop learns the move Strength at level 40. You can also teach it Strength via the HM (Hidden Machine) after obtaining it in the game. Remember to ensure that your Machop has enough experience points to reach that level to learn the move.
It's actually called a hidden machine, and it is th move strength. Hope I helped :)
furret
You can move that boulder by using the hidden move strength.
Route 18
You get it from a house in Nimbasa City.
Strength can be found in the Top Left Building in Nimbasa.
HM04-Strength
The move in Pokémon Diamond that allows you to move boulders that are in the way as you're traveling the Sinnoh region is called Strength. Strength is a Hidden Machine that you can find in the top floor of the Lost Tower.
Lots of Pokemon push away stones.... but they need to know the HM (hidden move) STRENGTH.
you can get it from a guy called riley in front of the entrance to iron island
in nimbasa city in a house near the pokemon center.
In a house on the western side of Raimon City.