Fixed memory leaks.
Fixed leaks in fatMake, CopyEntry and mutexDeinit.
Minor update of CopyEntry command.