Are there any function to find duplication of file transfer destination in "copy" and "template" tasks

Hi all,

I’m using Ansible for configuration management.
Does Ansible have any function to detect overlaping of file modification in “copy” / “template” tasks?

I want to get some messages or warnings to know overlaping in the following situation.

Example