When PHP moves a file across filesystem boundaries, it does not update the access/modification times. Thus do it manually so that this information is not lost.
syntax is the same has http://www.php.net/manual/en/function.hash-file.php