im OH SO CLOSE to the pictures script running, just one thing i havent ocme accross, and neither has me book

PHP Code:
if ($page=="5") {

    if (isset(
$_POST['submit'])) {

    
$y 0;
    
$s = (count($thumbnail)-1);

        while(
$s>$y) {

            print 
"this code is running<BR>";
            
$noofpic $number;

            
$fileUploadCopy $_FILES['thumbnail[$y]']['tmp_name'];
             
$fileUpload $_FILES['thumbnail[$y]']['name'];
             
$fileUploadCopy2 $_FILES['bigpics[$y]']['tmp_name'];
              
$fileUpload2 $_FILES['bigpics[$y]']['name'];

            
$imageName $fileUpload;
            
$imageName2 $fileUpload2;

            
$y++;

            if (
$fileUploadCopy != "none") {
              
copy($fileUploadCopy,"uploads/$imageName");
            }
              if (
$fileUploadCopy2 != "none") {
                 
copy($fileUploadCopy2,"uploads/$imageName");
            }
        }
        print 
"woo";
    }

creates this error....

Warning: Unable to open '' for reading: Permission denied in C:\Program Files\Apache Group\Apache2\htdocs\PHP\MySite\admin\admin.php on line 203

Warning: Unable to open '' for reading: Permission denied in C:\Program Files\Apache Group\Apache2\htdocs\PHP\MySite\admin\admin.php on line 206

i know it means it has no permission to open and upload the file, or copy it or whatever, but does anyone know how to get permission?

Thanks you