Instead of copying the same code over and over again and changing the value of $number, why not just do this:
PHP Code:
<?php error_reporting(0); ?>
<html>
<head>
<title>PHP Habbo Icon Downloader By PapoDevs23, edited by m0nsta.</title>
</head>
<div align="center">
<center>
<table cellpadding="15" cellspacing="2">
<tbody>
<b>Go and watch the '1' folder. All your icons are in that folder.<br><br>PHP Habbo Icon Downloader Is © Copyright By PapoDevs23, edited by m0nsta.!</b>
<?php
for( $i=0;$i<=300;$i++ )
{
$number2 = str_replace(" ", "", $i, $count);
$imageUrl = 'http://images.habbo.com/c_images/catalogue/icon_'.$number2.'.png';
copy($imageUrl, './1/icon_'.$number.'.png');
}
?>
</tbody>
</table>
</center>
</div>