The CopyLZFile function is obsolete. It is provided only for compatibility with 16-bit versions of Windows. For Win32-based applications, use the LZCopy function.
Data Decompression Library Overview, Data Decompression Library Functions