Migrating the cakephp 2.1 to 2.10.13 and php version 5.6 to 7.3

Hi I am migrating to the above requirement I have copied the controller, model, and view files from previous version to the newer version , and I copied custom file called geocoded.php inside which is having class GeocodedBehavior extends Model behavior and blah blah
to the newer version app/model/behavior .
But I am facing the issue called missing geocodedBehavior when I replace the same geocoded.php please help me in resolving this error as I am new to cakephp