php move_uploaded_files and copy not working : both the functions work for file whose size is less than 10MB. It does not copy when the file size is more than 10MB.

php.ini files have following

    post_max_size = 300M
    upload_max_filesize = 300M
    memory_limit = 128M

Destination directory has required permissions as it is working for smaller files.

