cpx is a command-line tool for copying files. It elegantly handles complex file copying scenarios, including wildcard patterns and filename transformations. Unlike simple cp, cpx supports filtering files based on patterns before copying, allowing for selective transfers. Crucially, it watches source directories for changes and automatically copies updated files to the destination, making it ideal for development workflows requiring real-time mirroring of assets. It supports various destructuring options, making it a vital asset for modern JavaScript projects.