Have the monitoring program use the unix 'fuser' command on each file it checks. If the command returns a PID, then another process (the copying process) still has the file open.
We use the '-o' option, but we're running AIX so options might be a little different on Linux.
Brian Paige