Check mimeType when copy