Quote:
	
	
		| 
					Originally Posted by BetterRed  The book/data folders don't seem to be copied at all, even they only contain one file. 
 I only tried copy, not copy and delete, I copied to an empty library, with and without custom columns.
 
 BR
 | 
	
 @kovid: I can replicate this problem. It seems to be caused by this in db.copy_to_library
line 108 is
	Code:
	                nbp = newdb.field_for('path', book_id)
 but should be
	Code:
	                nbp = newdb.field_for('path', new_book_id)
 I didn't push the change because I am not confident enough that I understand all the ramifications. However, with the change, "Copy to library" does copy the data files.