copy changes max length
copy changes max length #181