[BISERVER-8412] adjusted copy paste logic to deal with some subtle
issues when copying between folders, the previous logic would skip the
prefix and go straight to the increment when copying to a different
folder.