simplify binary file copy scripts.