check if file is being accessed by any application

Hello, is there maybe a way to check if a specific file is being accessed at the moment?

Example:

You will start copying a 10 GB file from A to B, how could I code it so my script actually knows when file B is finished copying?

look into 'man fuser'